package com.kebabeaters.nakebab.client.presenter;

import com.google.gwt.event.shared.EventBus;
import com.google.inject.Inject;
import com.gwtplatform.mvp.client.Presenter;
import com.gwtplatform.mvp.client.View;
import com.gwtplatform.mvp.client.annotations.NameToken;
import com.gwtplatform.mvp.client.annotations.ProxyCodeSplit;
import com.gwtplatform.mvp.client.proxy.ProxyPlace;
import com.gwtplatform.mvp.client.proxy.RevealContentEvent;
import com.kebabeaters.nakebab.client.place.NameTokens;

public class AddRestaurantPresenter extends
	Presenter<AddRestaurantPresenter.Display, AddRestaurantPresenter.Proxy> {

	public interface Display extends View {

	}

	@ProxyCodeSplit
	@NameToken(NameTokens.restaurantAdd)
	public interface Proxy extends ProxyPlace<AddRestaurantPresenter> {
	}
	
	@Inject
	public AddRestaurantPresenter(EventBus eventBus, Display view, Proxy proxy) {
		super(eventBus, view, proxy);
		
	}

	@Override
	protected void revealInParent() {
		RevealContentEvent.fire(this, ContentPresenter.TYPE_Content, this);
	}
}
